package io.renren.modules.course.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.course.entity.ExamCourse;
import io.renren.modules.course.entity.ExamCourseExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Yang
 * @Date 2019/9/9 18:38
 */
@Mapper
public interface ExamCourseMapper extends BaseMapper<ExamCourse> {
    long countByExample(ExamCourseExample example);

    int deleteByExample(ExamCourseExample example);

    List<ExamCourse> selectByExample(ExamCourseExample example);

    int updateByExampleSelective(@Param("record") ExamCourse record, @Param("example") ExamCourseExample example);

    int updateByExample(@Param("record") ExamCourse record, @Param("example") ExamCourseExample example);

    ExamCourse selectByPrimaryKey(Integer courseId);
}